import React from 'react';
import { Link } from "react-router-dom";
import swiper from '../../../../static/img/swiper.jpg';
 function ScollListRow0(props) {
    let { i, index  } = props
    let { type } = i;
    return (
        <Link to={"/detail/" + i.uid + "/" + type} className="listItem1" key={index}>
            <div className={"imgBox"}>
                <img className="banner-img" alt="1" src={swiper} />
            </div>
            <div className="listContent">
                <p className="title"> {i.text}</p>
                <p className="details"> {i.name}</p>
            </div>
        </Link>
    )
}
export default ScollListRow0;